<?php
//Blocks data
$items[0] = 'AIR';
$items[1] = 'STONE';
$items[2] = 'GRASS';
$items[3] = 'DIRT';
$items[4] = 'COBBLESTONE';
$items[5] = 'WOOD';
$items[6] = 'SAPLING';
$items[7] = 'BEDROCK';
$items[8] = 'WATER';
$items[9] = 'STATIONARY_WATER';
$items[10] = 'LAVA';
$items[11] = 'STATIONARY_LAVA';
$items[12] = 'SAND';
$items[13] = 'GRAVEL';
$items[14] = 'GOLD_ORE';
$items[15] = 'IRON_ORE';
$items[16] = 'COAL_ORE';
$items[17] = 'LOG';
$items[18] = 'LEAVES';
$items[19] = 'SPONGE';
$items[20] = 'GLASS';
$items[21] = 'LAPIS_ORE';
$items[22] = 'LAPIS_BLOCK';
$items[23] = 'DISPENSER';
$items[24] = 'SANDSTONE';
$items[25] = 'NOTE_BLOCK';
$items[26] = 'BED_BLOCK';
$items[27] = 'POWERED_RAIL';
$items[28] = 'DETECTOR_RAIL';
$items[29] = 'PISTON_STICKY_BASE';
$items[30] = 'WEB';
$items[31] = 'LONG_GRASS';
$items[32] = 'DEAD_BUSH';
$items[33] = 'PISTON_BASE';
$items[34] = 'PISTON_EXTENSION';
$items[35] = 'WOOL';
$items[36] = 'PISTON_MOVING_PIECE';
$items[37] = 'YELLOW_FLOWER';
$items[38] = 'RED_ROSE';
$items[39] = 'BROWN_MUSHROOM';
$items[40] = 'RED_MUSHROOM';
$items[41] = 'GOLD_BLOCK';
$items[42] = 'IRON_BLOCK';
$items[43] = 'DOUBLE_STEP';
$items[44] = 'STEP';
$items[45] = 'BRICK';
$items[46] = 'TNT';
$items[47] = 'BOOKSHELF';
$items[48] = 'MOSSY_COBBLESTONE';
$items[49] = 'OBSIDIAN';
$items[50] = 'TORCH';
$items[51] = 'FIRE';
$items[52] = 'MOB_SPAWNER';
$items[53] = 'WOOD_STAIRS';
$items[54] = 'CHEST';
$items[55] = 'REDSTONE_WIRE';
$items[56] = 'DIAMOND_ORE';
$items[57] = 'DIAMOND_BLOCK';
$items[58] = 'WORKBENCH';
$items[59] = 'CROPS';
$items[60] = 'SOIL';
$items[61] = 'FURNACE';
$items[62] = 'BURNING_FURNACE';
$items[63] = 'SIGN_POST';
$items[64] = 'WOODEN_DOOR';
$items[65] = 'LADDER';
$items[66] = 'RAILS';
$items[67] = 'COBBLESTONE_STAIRS';
$items[68] = 'WALL_SIGN';
$items[69] = 'LEVER';
$items[70] = 'STONE_PLATE';
$items[71] = 'IRON_DOOR_BLOCK';
$items[72] = 'WOOD_PLATE';
$items[73] = 'REDSTONE_ORE';
$items[74] = 'GLOWING_REDSTONE_ORE';
$items[75] = 'REDSTONE_TORCH_OFF';
$items[76] = 'REDSTONE_TORCH_ON';
$items[77] = 'STONE_BUTTON';
$items[78] = 'SNOW';
$items[79] = 'ICE';
$items[80] = 'SNOW_BLOCK';
$items[81] = 'CACTUS';
$items[82] = 'CLAY';
$items[83] = 'SUGAR_CANE_BLOCK';
$items[84] = 'JUKEBOX';
$items[85] = 'FENCE';
$items[86] = 'PUMPKIN';
$items[87] = 'NETHERRACK';
$items[88] = 'SOUL_SAND';
$items[89] = 'GLOWSTONE';
$items[90] = 'PORTAL';
$items[91] = 'JACK_O_LANTERN';
$items[92] = 'CAKE_BLOCK';
$items[93] = 'DIODE_BLOCK_OFF';
$items[94] = 'DIODE_BLOCK_ON';
$items[95] = 'LOCKED_CHEST';
$items[96] = 'TRAP_DOOR';
$items[97] = 'MONSTER_EGGS';
$items[98] = 'SMOOTH_BRICK';
$items[99] = 'HUGE_MUSHROOM_1';
$items[100] = 'HUGE_MUSHROOM_2';
$items[101] = 'IRON_FENCE';
$items[102] = 'THIN_GLASS';
$items[103] = 'MELON_BLOCK';
$items[104] = 'PUMPKIN_STEM';
$items[105] = 'MELON_STEM';
$items[106] = 'VINE';
$items[107] = 'FENCE_GATE';
$items[108] = 'BRICK_STAIRS';
$items[109] = 'SMOOTH_STAIRS';
$items[110] = 'MYCEL';
$items[111] = 'WATER_LILY';
$items[112] = 'NETHER_BRICK';
$items[113] = 'NETHER_FENCE';
$items[114] = 'NETHER_BRICK_STAIRS';
$items[115] = 'NETHER_WARTS';
$items[116] = 'ENCHANTMENT_TABLE';
$items[117] = 'BREWING_STAND';
$items[118] = 'CAULDRON';
$items[119] = 'ENDER_PORTAL';
$items[120] = 'ENDER_PORTAL_FRAME';
$items[121] = 'ENDER_STONE';
$items[122] = 'DRAGON_EGG';
$items[123] = 'REDSTONE_LAMP_OFF';
$items[124] = 'REDSTONE_LAMP_ON';
$items[125] = 'WOOD_DOUBLE_STEP';
$items[126] = 'WOOD_STEP';
$items[127] = 'COCOA';
$items[128] = 'SANDSTONE_STAIRS';
$items[129] = 'EMERALD_ORE';
$items[130] = 'ENDER_CHEST';
$items[131] = 'TRIPWIRE_HOOK';
$items[132] = 'TRIPWIRE';
$items[133] = 'EMERALD_BLOCK';
$items[134] = 'SPRUCE_WOOD_STAIRS';
$items[135] = 'BIRCH_WOOD_STAIRS';
$items[136] = 'JUNGLE_WOOD_STAIRS';
$items[137] = 'COMMAND';
$items[138] = 'BEACON';
$items[139] = 'COBBLE_WALL';
$items[140] = 'FLOWER_POT';
$items[141] = 'CARROT';
$items[142] = 'POTATO';
$items[143] = 'WOOD_BUTTON';
$items[144] = 'SKULL';
$items[145] = 'ANVIL';
$items[256] = 'IRON_SPADE';
$items[257] = 'IRON_PICKAXE';
$items[258] = 'IRON_AXE';
$items[259] = 'FLINT_AND_STEEL';
$items[260] = 'APPLE';
$items[261] = 'BOW';
$items[262] = 'ARROW';
$items[263] = 'COAL';
$items[264] = 'DIAMOND';
$items[265] = 'IRON_INGOT';
$items[266] = 'GOLD_INGOT';
$items[267] = 'IRON_SWORD';
$items[268] = 'WOOD_SWORD';
$items[269] = 'WOOD_SPADE';
$items[270] = 'WOOD_PICKAXE';
$items[271] = 'WOOD_AXE';
$items[272] = 'STONE_SWORD';
$items[273] = 'STONE_SPADE';
$items[274] = 'STONE_PICKAXE';
$items[275] = 'STONE_AXE';
$items[276] = 'DIAMOND_SWORD';
$items[277] = 'DIAMOND_SPADE';
$items[278] = 'DIAMOND_PICKAXE';
$items[279] = 'DIAMOND_AXE';
$items[280] = 'STICK';
$items[281] = 'BOWL';
$items[282] = 'MUSHROOM_SOUP';
$items[283] = 'GOLD_SWORD';
$items[284] = 'GOLD_SPADE';
$items[285] = 'GOLD_PICKAXE';
$items[286] = 'GOLD_AXE';
$items[287] = 'STRING';
$items[288] = 'FEATHER';
$items[289] = 'SULPHUR';
$items[290] = 'WOOD_HOE';
$items[291] = 'STONE_HOE';
$items[292] = 'IRON_HOE';
$items[293] = 'DIAMOND_HOE';
$items[294] = 'GOLD_HOE';
$items[295] = 'SEEDS';
$items[296] = 'WHEAT';
$items[297] = 'BREAD';
$items[298] = 'LEATHER_HELMET';
$items[299] = 'LEATHER_CHESTPLATE';
$items[300] = 'LEATHER_LEGGINGS';
$items[301] = 'LEATHER_BOOTS';
$items[302] = 'CHAINMAIL_HELMET';
$items[303] = 'CHAINMAIL_CHESTPLATE';
$items[304] = 'CHAINMAIL_LEGGINGS';
$items[305] = 'CHAINMAIL_BOOTS';
$items[306] = 'IRON_HELMET';
$items[307] = 'IRON_CHESTPLATE';
$items[308] = 'IRON_LEGGINGS';
$items[309] = 'IRON_BOOTS';
$items[310] = 'DIAMOND_HELMET';
$items[311] = 'DIAMOND_CHESTPLATE';
$items[312] = 'DIAMOND_LEGGINGS';
$items[313] = 'DIAMOND_BOOTS';
$items[314] = 'GOLD_HELMET';
$items[315] = 'GOLD_CHESTPLATE';
$items[316] = 'GOLD_LEGGINGS';
$items[317] = 'GOLD_BOOTS';
$items[318] = 'FLINT';
$items[319] = 'PORK';
$items[320] = 'GRILLED_PORK';
$items[321] = 'PAINTING';
$items[322] = 'GOLDEN_APPLE';
$items[323] = 'SIGN';
$items[324] = 'WOOD_DOOR';
$items[325] = 'BUCKET';
$items[326] = 'WATER_BUCKET';
$items[327] = 'LAVA_BUCKET';
$items[328] = 'MINECART';
$items[329] = 'SADDLE';
$items[330] = 'IRON_DOOR';
$items[331] = 'REDSTONE';
$items[332] = 'SNOW_BALL';
$items[333] = 'BOAT';
$items[334] = 'LEATHER';
$items[335] = 'MILK_BUCKET';
$items[336] = 'CLAY_BRICK';
$items[337] = 'CLAY_BALL';
$items[338] = 'SUGAR_CANE';
$items[339] = 'PAPER';
$items[340] = 'BOOK';
$items[341] = 'SLIME_BALL';
$items[342] = 'STORAGE_MINECART';
$items[343] = 'POWERED_MINECART';
$items[344] = 'EGG';
$items[345] = 'COMPASS';
$items[346] = 'FISHING_ROD';
$items[347] = 'WATCH';
$items[348] = 'GLOWSTONE_DUST';
$items[349] = 'RAW_FISH';
$items[350] = 'COOKED_FISH';
$items[351] = 'INK_SACK';
$items[352] = 'BONE';
$items[353] = 'SUGAR';
$items[354] = 'CAKE';
$items[355] = 'BED';
$items[356] = 'DIODE';
$items[357] = 'COOKIE';
$items[358] = 'MAP';
$items[359] = 'SHEARS';
$items[360] = 'MELON';
$items[361] = 'PUMPKIN_SEEDS';
$items[362] = 'MELON_SEEDS';
$items[363] = 'RAW_BEEF';
$items[364] = 'COOKED_BEEF';
$items[365] = 'RAW_CHICKEN';
$items[366] = 'COOKED_CHICKEN';
$items[367] = 'ROTTEN_FLESH';
$items[368] = 'ENDER_PEARL';
$items[369] = 'BLAZE_ROD';
$items[370] = 'GHAST_TEAR';
$items[371] = 'GOLD_NUGGET';
$items[372] = 'NETHER_STALK';
$items[373] = 'POTION';
$items[374] = 'GLASS_BOTTLE';
$items[375] = 'SPIDER_EYE';
$items[376] = 'FERMENTED_SPIDER_EYE';
$items[377] = 'BLAZE_POWDER';
$items[378] = 'MAGMA_CREAM';
$items[379] = 'BREWING_STAND_ITEM';
$items[380] = 'CAULDRON_ITEM';
$items[381] = 'EYE_OF_ENDER';
$items[382] = 'SPECKLED_MELON';
$items[383] = 'MONSTER_EGG';
$items[384] = 'EXP_BOTTLE';
$items[385] = 'FIREBALL';
$items[386] = 'BOOK_AND_QUILL';
$items[387] = 'WRITTEN_BOOK';
$items[388] = 'EMERALD';
$items[389] = 'ITEM_FRAME';
$items[390] = 'FLOWER_POT_ITEM';
$items[391] = 'CARROT_ITEM';
$items[392] = 'POTATO_ITEM';
$items[393] = 'BAKED_POTATO';
$items[394] = 'POISONOUS_POTATO';
$items[395] = 'EMPTY_MAP';
$items[396] = 'GOLDEN_CARROT';
$items[397] = 'SKULL_ITEM';
$items[398] = 'CARROT_STICK';
$items[399] = 'NETHER_STAR';
$items[400] = 'PUMPKIN_PIE';
$items[2256] = 'GOLD_RECORD';
$items[2257] = 'GREEN_RECORD';
$items[2258] = 'RECORD_3';
$items[2259] = 'RECORD_4';
$items[2260] = 'RECORD_5';
$items[2261] = 'RECORD_6';
$items[2262] = 'RECORD_7';
$items[2263] = 'RECORD_8';
$items[2264] = 'RECORD_9';
$items[2265] = 'RECORD_10';
$items[2266] = 'RECORD_11';
$items[2267] = 'RECORD_12';
//----------------
$ench[34] = array('name' => 'DURABILITY', 'startlevel' => 1, 'maxlevel' => 3);
$ench[0] = array('name' => 'PROTECTION_ENVIRONMENTAL', 'startlevel' => 1, 'maxlevel' => 4);
$ench[35] = array('name' => 'LOOT_BONUS_BLOCKS', 'startlevel' => 1, 'maxlevel' => 3);
$ench[1] = array('name' => 'PROTECTION_FIRE', 'startlevel' => 1, 'maxlevel' => 4);
$ench[32] = array('name' => 'DIG_SPEED', 'startlevel' => 1, 'maxlevel' => 5);
$ench[2] = array('name' => 'PROTECTION_FALL', 'startlevel' => 1, 'maxlevel' => 4);
$ench[33] = array('name' => 'SILK_TOUCH', 'startlevel' => 1, 'maxlevel' => 1);
$ench[3] = array('name' => 'PROTECTION_EXPLOSIONS', 'startlevel' => 1, 'maxlevel' => 4);
$ench[4] = array('name' => 'PROTECTION_PROJECTILE', 'startlevel' => 1, 'maxlevel' => 4);
$ench[5] = array('name' => 'OXYGEN', 'startlevel' => 1, 'maxlevel' => 3);
$ench[6] = array('name' => 'WATER_WORKER', 'startlevel' => 1, 'maxlevel' => 1);
$ench[51] = array('name' => 'ARROW_INFINITE', 'startlevel' => 1, 'maxlevel' => 1);
$ench[17] = array('name' => 'DAMAGE_UNDEAD', 'startlevel' => 1, 'maxlevel' => 5);
$ench[50] = array('name' => 'ARROW_FIRE', 'startlevel' => 1, 'maxlevel' => 1);
$ench[16] = array('name' => 'DAMAGE_ALL', 'startlevel' => 1, 'maxlevel' => 5);
$ench[49] = array('name' => 'ARROW_KNOCKBACK', 'startlevel' => 1, 'maxlevel' => 2);
$ench[19] = array('name' => 'KNOCKBACK', 'startlevel' => 1, 'maxlevel' => 2);
$ench[48] = array('name' => 'ARROW_DAMAGE', 'startlevel' => 1, 'maxlevel' => 5);
$ench[18] = array('name' => 'DAMAGE_ARTHROPODS', 'startlevel' => 1, 'maxlevel' => 5);
$ench[21] = array('name' => 'LOOT_BONUS_MOBS', 'startlevel' => 1, 'maxlevel' => 3);
$ench[20] = array('name' => 'FIRE_ASPECT', 'startlevel' => 1, 'maxlevel' => 2);

?>